package com.annhoa.listener;


import org.springframework.boot.context.event.ApplicationStartingEvent;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

/**
 * Application start listener
 * @author annhoa
 *
 */
@Component
public class ApplicationStartedEventListener implements ApplicationListener<ApplicationStartingEvent> {
	
	@Override
	public void onApplicationEvent(ApplicationStartingEvent applicationStartedEvent) {
		System.out.println("application starting .....");
	}
}
